<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/css/detail.css">
</head>

<body>
    <header></header>
    <main>
        <div class="main-c">
            <p class="info" id="info">
               
           
            </p>
            <script type="text/html" id="detailTmplateAdd"> 
                <span><a href="/index.html">鲜家首页</a></span>
                >
                <span><a href="/html/kind.html?id=鲜花">鲜花列表</a></span>
                >
                <span>{{title}}</span>

              </script>   
            <div class="wrap" id="wrap">

            </div>
            <script type="text/html" id="detailTmplate">
                    <div class="pic" id="pic">
                        <img src="{{photo[0].url}}" alt="" class="zoom-image">
                        <div class="small" id="small">
                            <ul id="gall">
                                {{each photo imgs}}
                                    <li>
                                        <!-- data-image设置中图路径，data-zoom-image设置大图的路径 -->
                                        <!-- 如果中图和大图是同一张，那么data-zoom-image可以不写 -->
                                        <a href="javascript:;" data-image="{{imgs.url}}">
                                            <img src="{{imgs.url}}" alt="">
                                        </a>  
                                    </li>   
                                {{/each}}
                            </ul>
                        </div>
                    </div>
                    <div class="detail">
                        <h3>{{title}}</h3>
                        <p class="detail-title">
                            <span>￥{{price}}</span> <span>原价{{originPrice}}</span>
                            <span>{{commission}}折</span><span>已售:{{saleNum}}</span>
                            <span>评价:{{tbOriginPrice}}</span><span>人气：{{itemId}}</span>
                        </p>
                        <div class="shop-param">
                            <p>
                                <span>主花材</span>
                                <span>玫瑰花 9枝</span>
                                <br>
                                <span>花束辅材</span>
                                <span>9枝栀子叶</span>
                            </p>
                            <p>
                                <span>绿植工艺</span>
                                <span>鲜花(鲜切花)</span>
                                <br>
                                <span>花束包装 </span>
                                <span>内衬磨砂包装纸1张，外层原色牛皮纸2张</span>
                            </p>
                        </div>
                        <div class="about">
                            {{if coupon.condition}}
                                <p>
                                    <span>相关标签</span>
                                    <span>{{coupon.condition}}</span>
                                    <span>{{coupon.couponText}}</span>
                                    <span>{{coupon.expireMsg}}</span>
                                    <span>{{coupon.expireDate}}</span>
                                    <span><a href="" style="font-size: 12px;">更多+</a> </span>
                                </p>
                            {{/if}}
                        </div>
                        <div class="num">
                            <span>购买数量</span>
                            <span class="reduce">-</span><input type="text" value="1" id="paynum"><span class="add">+</span>
                        </div>
                        <div class="shop-but">
                            <a href="javascript:;">立即抢购</a>
                            <a href="javascript:;" id="add-to-cart-btn">加入购物车</a>
                            <a href="javascript:;"><img src="/images/detail/kf_03.png" alt=""> 客服咨询 </a>
                        </div>
                        <div class="service">
                            <div class="service-left">
                                <div>
                                    本商品已加入
                                    <b>人保财险及时达保险计划</b>
                                </div>
                                <p>延迟超过30分钟起赔，退50%购花款。超过2小时，全额退款。</p>
                            </div>
                            <div class="service-right">
                                <span>价值5元</span>
                                <img src="/images/detail/pk.png" alt="">
                            </div>
                        </div>
                    </div>
            </script>
            <div class="moreImg" id="moreImg">

            </div>
            <script type="text/html" id="moreImgTemplate">
                    {{each descContentList img}}
                    <img src="{{img.image.url}}" alt="">
                    {{/each}}
            </script>
            <div class="big-shopcar">
                <div class="car-pic">
                    <a href="/html/shopcar.html"><img src="/images/kind/shopcar.jpg" alt=""></a>
                    <span id="addNum">0</span>
                </div>
            </div>
            <div class="to-top" id="to-top">
                <img src="/images/toTop.png" alt="">
            </div>
        </div>
    </main>
    <footer></footer>
    <script src="/libs/require/require.min.js" data-main="/js/detail"></script>
</body>

</html>